﻿namespace OrkutAPILibrary.Constants
{
    /// <summary>
    /// Orkut Error Codes
    /// </summary>
    public class OrkutErrorCode
    {
        const int BAD_REQUEST = 400;
        const int NOT_AUTHORIZED = 401;
        const int USAGE_EXCEEDED = 403;
        const int NO_PERMISSION = 403;
        const int SERVER_ERROR = 500;
        const int CUSTOM_ERROR = -32000;
    }

    /// <summary>
    /// Error Types
    /// </summary>
    public class ErrorType
    {
        const string ALBUM_DOES_NOT_EXIST = "albumDoesNotExist";
        const string ALBUM_PHOTO_LIMIT_EXCEEDED = "albumPhotoLimitExceeded";
        const string API_LIMIT_EXCEEDED = "apiLimitExceeded";
        const string REQUIRES_CAPTCHA = "requiresCaptcha";
        const string INVALID_PHONE_NUMBER = "invalidPhoneNumber";
        const string INVALID_USER = "invalidUser";
        const string MAX_FRIENDS_EXCEEDED = "maxFriendsExceeded";
        const string NO_PERMISSION = "noPermissions";
        const string PHOTO_SIZE_LIMIT_EXCEEDED = "photoSizeLimitExceeded";
        const string SMS_QUOTA_EXCEEDED = "smsQuotaExceeded";
        const string TOS_NOT_ACCEPTED = "tosNotAccepted";
        const string USER_PHOTO_LIMIT_EXCEEDED = "userPhotoLimitExceeded";
    }
}
